Introduce a locking protocol for acquiring the 'scheduler
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 13 Jan 2006 15:44:04 +0000 (16:44 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 13 Jan 2006 15:44:04 +0000 (16:44 +0100)
commitfc5423d8cdf92d98f5eda9edc771cb546184ea93
tree0f2b1da377e0dfce4680345821cc47a31b70ce78
parentc62fffdcdc3490cf5c671eb428f8ca0036b7722a
Introduce a locking protocol for acquiring the 'scheduler
lock' on a particular VCPU. Since this requires acquiring
the approrpiate per-CPU lock, we must re-check the VCPU's
current CPU binding after the lock is acquired.

Signed-off-by: Keir Fraser <keir@xensource.com>
xen/common/sched_bvt.c
xen/common/schedule.c
xen/include/xen/sched-if.h